<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/rp/common/taglib.jsp" %>

<div region="north" showSplit="false" showSplitIcon="false" showHeader="false" splitSize="0">
   	
   	<div class="mini-panel" showHeader="false" showFooter="true"
   		style="width: 100%; height: 100%;" borderStyle="border:0;" bodyStyle="padding:0px;">
   		
   		<div id="headerContent" style="width: 100%; height: 100%; overflow: hidden;">
   			
   		</div>
   		
   		<ul id="bannerContextMenu" class="mini-contextmenu">
   			<sec:authorize ifAllGranted="AUTH_SUPERADMIN">
   				<li iconCls="fa fa-pencil-square-o fa-lg" onclick="openEditBanner()">编辑</li>
   			</sec:authorize>
			<li iconCls="fa fa-refresh fa-lg" onclick="setTopNorth()">刷新顶栏 (E)</li>
			<!-- <li iconCls="fa fa-question-circle fa-lg" onclick="openHelpWindow('')"> 帮助</li> -->
		</ul>
   		
   		<div id="topFooter" property="footer" style="">
   			<a id="toggleSidebarBtn" class="mini-button" iconCls="" tooltip="收展侧边栏" onclick="toggleSidebar();" plain="true" 
   				style="" bodyStyle="">
   				<i class="fa fa-bars fa-2x" style="margin-top: 3px;"></i></a>
   			<span id="dateSpan"></span>
   			<a id="userMiniCenterShowBtn" class="mini-button" iconCls="" tooltip="点击显示迷你用户中心"
   				onclick="showUserMiniCenter();" plain="true" style="float: left;">
   				<i class="fa fa-user fa-lg"></i> <rp:User property="realname"/></span>
   			</a>
   			
   			<a class="mini-button" iconCls="" onclick="toggleHeader();" plain="true" style="float: right;"><i class="fa fa-arrows-v fa-lg"></i> 收展顶栏</a>
   			<a class="mini-button" iconCls="" onclick="logout();" plain="true" style="float: right;"><i class="fa fa-power-off fa-lg"></i> 重登陆</a>
   			<a class="mini-button" iconCls="" onclick="changePassword();" plain="true" style="float: right;"><i class="fa fa-key fa-lg"></i> 修改密码</a>
   			<a class="mini-button" iconCls="" onclick="loadHome()" plain="true" style="float: right;"><i class="fa fa-home fa-lg"></i> 首页</a>
   			
   			<!-- <div class="mini-toolbar" style="width: 100%; padding: 0px;" borderStyle="border:0;">
				<table style="width:100%; border: 0;">
					<tbody style="">
						<tr>
							<td style="width: 100%;">
								<span>当前用户：<a href="javascript:;" onclick=""><rp:User property="realname"/></a></span>
								<span id="dateSpan"></span>
							</td>
							<td style="white-space:nowrap; height: 100%;">
								<a class="mini-menubutton" iconCls="" plain="true" menu="#themeList"><i class="fa fa-delicious fa-lg"></i> 更换主题</a>
								<ul id="themeList" class="mini-menu" style="display:none;">
								    <li onclick="onSkinChange('bootstrap')">默认主题</li>
								    <li onclick="onSkinChange('blue')">经典风格</li>
								    <li onclick="onSkinChange('gray')">灰色风格</li>
								    <li onclick="onSkinChange('olive2003')">橄榄树2003</li>
								    <li onclick="onSkinChange('blue2003')">蓝色海洋2003</li>
								    <li onclick="onSkinChange('blue2010')">蓝色海洋2010</li>
									<li onclick="onSkinChange('metro')">Metro天仙白</li>
									<li onclick="onSkinChange('metro-green')">Metro仙踪绿</li>
									<li onclick="onSkinChange('metro-orange')">Metro香橘橙</li>
							    </ul>
							    <a class="mini-button" iconCls="" onclick="loadHome()" plain="true"><i class="fa fa-home fa-lg"></i> 首页</a>
								<sec:authorize ifAllGranted="AUTH_SUPERADMIN">
									<a class="mini-button" iconCls="icon-sprocket-dark" onclick="addMainTab('基础数据维护','rp/system/baseData/main');">基础数据维护</a>
								</sec:authorize>
								<a class="mini-button" iconCls="" onclick="changePassword();" plain="true"><i class="fa fa-lock fa-lg"></i> 修改密码</a>
								<a class="mini-button" iconCls="" onclick="logout();" plain="true"><i class="fa fa-power-off fa-lg"></i> 退出系统</a>
							</td>
						</tr>
					</tbody>
				</table>
			</div> -->
	    </div>
   	</div>   	
</div>